package com.bamboo.mapper;

import com.bamboo.mapper.base.BaseMapper;
import com.bamboo.model.Token;

/**
 * 用户Token
 * 
 */
public interface TokenMapper extends BaseMapper<Token> {
    
    Token queryByUserId(Long userId);

    Token queryByToken(String token);
	
}
